home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
Book Chapters
/
03 - Advanced Graphics
/
Example 4
/
Demo MacHeaders.pch
next >
Wrap
Text File
|
1995-02-18
|
630b
|
32 lines
/*
* MacHeaders.pch
*
* Script to generate the 'MacHeaders<xxx>' precompiled header for Metrowerks C/C++.
* Copyright © 1993 metrowerks inc. All rights reserved.
*/
/*
* Support for automatically naming the precompiled header file ...
*/
#ifdef __cplusplus
#ifdef powerc
#pragma precompile_target "Demo MacHeadersPPC++"
#else
#pragma precompile_target "Demo MacHeaders68K++"
#endif
#else
#ifdef powerc
#pragma precompile_target "Demo MacHeadersPPC"
#else
#pragma precompile_target "Demo MacHeaders68K"
#endif
#endif
/*
* Now just include the "MacHeaders.c" source file ...
*/
#include "MacHeaders.c"